package com.jt.demo5_di;

public class Car {
    private String name;
    private String color;

    public Car(String name, String color) {
        this.name = name;
        this.color = color;
    }

    public void go(){
        System.out.println("带你去飙车！感受风的抚摸！"+name+":"+color);
    }
}
